package com.good.shopping.order;

import com.good.shopping.order.service.OrderService;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.amqp.core.DirectExchange;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author shengren.yan
 * @create 2022-03-22
 */
@Slf4j
@SpringBootTest
public class testSeata {

    @Autowired
    private OrderService orderService;

    @Test
    void test1() {

        orderService.doTestSeata();
    }


}
